If set to true then macOS will know this is a cancel button to use for cancel operations, and Escape key also gets wired to the button.
NSButton Class